package com.recommendation.domain;

import java.io.Serializable;

public class RecommendScope implements Serializable{
	
	public static final short TYPE_ALL = 0;
	public static final short TYPE_KEYWORD = 1;
	public static final short TYPE_CATEGORIES = 2;
	public static final short TYPE_SPECIFIED = 3;
	
	private short type = TYPE_ALL;
	
	private String keyword;
	private String sellerCids;
	private String numIids;

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getKeyword() {
		return keyword;
	}
	
	public void setItems(String numIids) {
		this.numIids = numIids;
	}

	public String getItems() {
		return this.numIids;
	}

	public void setType(short type) {
		this.type = type;
	}

	public short getType() {
		return type;
	}

	public void setSellerCids(String sellerCids) {
		this.sellerCids = sellerCids;
	}

	public String getSellerCids() {
		return sellerCids;
	}
	
	public String toString()
	{
		StringBuilder sb = new StringBuilder();
		sb.append("type: ").append(type);
		sb.append("\nkeyword: ").append(keyword);
		sb.append("\nsellerCids: ").append(sellerCids);
		sb.append("\nnumIids: ").append(numIids);
		return sb.toString();
	}

}
